package com.softWang.system.controller.vo.systemUserProfile;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel
@Data
public class ChangePasswordParam {

    @ApiModelProperty(value = "新密码")
    @NotBlank(message = "password不能为空")
    private String password;

    @ApiModelProperty(value = "旧密码")
    @NotBlank(message = "oldPassword不能为空")
    private String oldPassword;

}
